package cn.project.engineering.ui.adapter

import cn.project.engineering.R
import cn.project.engineering.http.bean.DianjiaFourInfo
import cn.project.engineering.http.bean.DianjiaOneInfo
import cn.project.engineering.http.bean.SerchDistributionInfo
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

 class FileDistributionDapter(layoutid: Int, data: MutableList<SerchDistributionInfo>) : BaseQuickAdapter<SerchDistributionInfo, BaseViewHolder>(layoutid,data) {
     override fun convert(holder: BaseViewHolder, item: SerchDistributionInfo) {
         holder.setText(R.id.disribution_item_num,item.FileNO)
         holder.setText(R.id.disribution_item_name,item.FileName)
         holder.setText(R.id.disribution_item_verson,item.Version)
//         holder.setText(R.id.disribution_item_thingnum,item.PartNO)
         holder.setText(R.id.disribution_item_ordernum,item.WOID)
     }

 }